/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Store;

/**
 *
 * @author vicky cheung
 */
public enum Tactics {

    counterAttack("counter attack", "http://db.tt/7BAljBcW"),
    longBall("long ball", "http://db.tt/qahRFmEd"),
    man2manMarking("man to man marking", "http://db.tt/zvWJdV73"),
    posessionFootball("possesion football", "http://db.tt/fTTL1M7C"),
    widePlay("wide play", "http://db.tt/hmJIX83F"),
    zonalDefence("zonal marking", "http://db.tt/YUiXOYEX");

    
    
    //Empty("Empty", "http://db.tt/KrsWeyjG", "http://db.tt/35kVh6pb"),

 
    private String tactic_name;
    private String tacticImageURL;
    private String description;
    
    Tactics(String tactic_name, String taticImageURL) {
        this.tactic_name = tactic_name;
        this.tacticImageURL = taticImageURL;
    }
    
    public String getTacticsName(){return tactic_name;}
    public String getTacticsURL(){return tacticImageURL;}
    
    
    public static String getTacticsImageURLByName(String name){
        for(Tactics t : Tactics.values())
            if(t.getTacticsName().equals(name))
                return t.getTacticsURL();
        return null;
    }
    
}
